package gxt.visual.selection.listener;

import gxt.visual.selection.event.GenericSelectionChangedEvent;

import com.extjs.gxt.ui.client.event.Listener;

/**
 * @author eugenp
 */
public abstract class GenericSelectionChangedListener< T > implements Listener< GenericSelectionChangedEvent< T >>{
	
	//
	public void handleEvent( final GenericSelectionChangedEvent< T > se ){
		this.selectionChanged( se );
	}
	
	/**
	 * Fires when the selection has changed.
	 * @param se the selection event
	 */
	public abstract void selectionChanged( GenericSelectionChangedEvent< T > se );

}
